package org.jeecg.modules.solitaire_app.app.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 小程序配置表
 * @Author: jeecg-boot
 * @Date:   2023-08-29
 * @Version: V1.0
 */
@Data
@TableName("ysy_system")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ysy_system对象", description="小程序配置表")
public class YsySystem {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**小程序id*/
	@Excel(name = "小程序id", width = 15)
    @ApiModelProperty(value = "小程序id")
	private String appid;
	/**小程序密钥*/
	@Excel(name = "小程序密钥", width = 15)
    @ApiModelProperty(value = "小程序密钥")
	private String appsecret;
	/**商户号*/
	@Excel(name = "商户号", width = 15)
    @ApiModelProperty(value = "商户号")
	private String mchId;
	/**商户私钥*/
	@Excel(name = "商户私钥", width = 15)
    @ApiModelProperty(value = "商户私钥")
	private String privateKey;
	/**商户密钥*/
	@Excel(name = "商户密钥", width = 15)
    @ApiModelProperty(value = "商户密钥")
	@TableField(value = "`key`")
	private String key;
	/**证书序列号*/
	@Excel(name = "证书序列号", width = 15)
    @ApiModelProperty(value = "证书序列号")
	private String mchidSerialNo;

	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
	private String remark;

	/**类型：1-客户端，2-驻场端，3-司机端*/
	@Excel(name = "类型：1-客户端，2-驻场端，3-司机端", width = 15)
	@ApiModelProperty(value = "类型：1-客户端，2-驻场端，3-司机端")
	@TableField(value = "`source`")
	private Integer source;

	/**腾讯地图key*/
	@Excel(name = "腾讯地图key", width = 15)
	@ApiModelProperty(value = "腾讯地图key")
	private String mapKey;

	/**手续费百分比*/
	@Excel(name = "手续费百分比", width = 15)
	@ApiModelProperty(value = "手续费百分比")
	private Integer commission;
}
